package sixPrinciples.lod.section2;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Client {
	
	public static void main(String[] args) {
		List<Girl> girls = new ArrayList<>();
		Random random = new Random();
		int range = random.nextInt(100);
		for(int i = 0; i < range; i++){
			girls.add(new Girl("name" + i));
		}
		GroupCounter groupCounter = new GroupCounter(girls);
		Teacher teacher = new Teacher(groupCounter);
		
		teacher.countGrils();
		
		
	}
}
